package top.infopub.model.hr;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.infopub.generic.GenericEntity;

/**
 * NC系统组织信息对象 nc_orginfo
 *
 * @author zxy
 * @date 2020-12-21
 */
public class NcOrginfo extends GenericEntity
{
    private static final long serialVersionUID = 1L;

    /** 组织ID */
    private String pkOrg;

    /** bmsspk_org */
    private String bmsspkOrg;

    /** ssiseffect */
    private String ssiseffect;

    /** 组织编号 */
    private String code;

    /** 组织名 */
    private String name;

    /** 组织简称1 */
    private String shortname;

    /** 组织简称2 */
    private String shortname40;

    /** 是否启用 */
    private Long zenablestate;

    /** 是否启用中文 */
    private String zzenablestatedesc;

    /** ts */
    private Date ts;

    /** 上级组织id */
    private String pkFatherorg;

    /** 上级组织编号 */
    private String fatherorgCode;

    /** 上级组织名 */
    private String fatherorgName;

    /** zfts */
    private Date zfts;

    /** zdcode */
    private String zdcode;

    /** 所属产业 */
    private String corp;

    /** 产业id */
    private String corpid;

    /** group_name */
    private String groupName;

    /** dr */
    private String dr;

    /** 组织部门标识，B：部门；Z：组织 */
    private String bzflag;

    /** 是否有效；Y：有效；N：无效 */
    private String iseffect;

    /** bmpk_org */
    private String bmpkOrg;

    private String fzrid;//负责人id
    private String fzrcode;//负责人工号
    private String fzrname;//负责人姓名
    private String fgid; //部门分管领导id
    private String fgcode;// 部门分管领导工号
    private String fgname;// 部门分管领导姓名

    /** rn */
    private String rn;

    public void setPkOrg(String pkOrg)
    {
        this.pkOrg = pkOrg;
    }

    public String getPkOrg()
    {
        return pkOrg;
    }
    public void setBmsspkOrg(String bmsspkOrg)
    {
        this.bmsspkOrg = bmsspkOrg;
    }

    public String getBmsspkOrg()
    {
        return bmsspkOrg;
    }
    public void setSsiseffect(String ssiseffect)
    {
        this.ssiseffect = ssiseffect;
    }

    public String getSsiseffect()
    {
        return ssiseffect;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setShortname(String shortname)
    {
        this.shortname = shortname;
    }

    public String getShortname()
    {
        return shortname;
    }
    public void setShortname40(String shortname40)
    {
        this.shortname40 = shortname40;
    }

    public String getShortname40()
    {
        return shortname40;
    }
    public void setZenablestate(Long zenablestate)
    {
        this.zenablestate = zenablestate;
    }

    public Long getZenablestate()
    {
        return zenablestate;
    }
    public void setZzenablestatedesc(String zzenablestatedesc)
    {
        this.zzenablestatedesc = zzenablestatedesc;
    }

    public String getZzenablestatedesc()
    {
        return zzenablestatedesc;
    }
    public void setTs(Date ts)
    {
        this.ts = ts;
    }

    public Date getTs()
    {
        return ts;
    }
    public void setPkFatherorg(String pkFatherorg)
    {
        this.pkFatherorg = pkFatherorg;
    }

    public String getPkFatherorg()
    {
        return pkFatherorg;
    }
    public void setFatherorgCode(String fatherorgCode)
    {
        this.fatherorgCode = fatherorgCode;
    }

    public String getFatherorgCode()
    {
        return fatherorgCode;
    }
    public void setFatherorgName(String fatherorgName)
    {
        this.fatherorgName = fatherorgName;
    }

    public String getFatherorgName()
    {
        return fatherorgName;
    }
    public void setZfts(Date zfts)
    {
        this.zfts = zfts;
    }

    public Date getZfts()
    {
        return zfts;
    }
    public void setZdcode(String zdcode)
    {
        this.zdcode = zdcode;
    }

    public String getZdcode()
    {
        return zdcode;
    }
    public void setCorp(String corp)
    {
        this.corp = corp;
    }

    public String getCorp()
    {
        return corp;
    }
    public void setCorpid(String corpid)
    {
        this.corpid = corpid;
    }

    public String getCorpid()
    {
        return corpid;
    }
    public void setGroupName(String groupName)
    {
        this.groupName = groupName;
    }

    public String getGroupName()
    {
        return groupName;
    }
    public void setDr(String dr)
    {
        this.dr = dr;
    }

    public String getDr()
    {
        return dr;
    }
    public void setBzflag(String bzflag)
    {
        this.bzflag = bzflag;
    }

    public String getBzflag()
    {
        return bzflag;
    }
    public void setIseffect(String iseffect)
    {
        this.iseffect = iseffect;
    }

    public String getIseffect()
    {
        return iseffect;
    }
    public void setBmpkOrg(String bmpkOrg)
    {
        this.bmpkOrg = bmpkOrg;
    }

    public String getBmpkOrg()
    {
        return bmpkOrg;
    }
    public void setRn(String rn)
    {
        this.rn = rn;
    }

    public String getRn()
    {
        return rn;
    }

    public String getFzrid() {
        return fzrid;
    }

    public void setFzrid(String fzrid) {
        this.fzrid = fzrid;
    }

    public String getFzrcode() {
        return fzrcode;
    }

    public void setFzrcode(String fzrcode) {
        this.fzrcode = fzrcode;
    }

    public String getFzrname() {
        return fzrname;
    }

    public void setFzrname(String fzrname) {
        this.fzrname = fzrname;
    }

    public String getFgid() {
        return fgid;
    }

    public void setFgid(String fgid) {
        this.fgid = fgid;
    }

    public String getFgcode() {
        return fgcode;
    }

    public void setFgcode(String fgcode) {
        this.fgcode = fgcode;
    }

    public String getFgname() {
        return fgname;
    }

    public void setFgname(String fgname) {
        this.fgname = fgname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pkOrg", getPkOrg())
            .append("bmsspkOrg", getBmsspkOrg())
            .append("ssiseffect", getSsiseffect())
            .append("code", getCode())
            .append("name", getName())
            .append("shortname", getShortname())
            .append("shortname40", getShortname40())
            .append("zenablestate", getZenablestate())
            .append("zzenablestatedesc", getZzenablestatedesc())
            .append("ts", getTs())
            .append("pkFatherorg", getPkFatherorg())
            .append("fatherorgCode", getFatherorgCode())
            .append("fatherorgName", getFatherorgName())
            .append("zfts", getZfts())
            .append("zdcode", getZdcode())
            .append("corp", getCorp())
            .append("corpid", getCorpid())
            .append("groupName", getGroupName())
            .append("dr", getDr())
            .append("bzflag", getBzflag())
            .append("iseffect", getIseffect())
            .append("bmpkOrg", getBmpkOrg())
            .append("rn", getRn())
            .toString();
    }
}
